<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('新增项目应用')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-statisticsApplication-add">
			<div class="form-group">
				<label class="col-sm-3 control-label">项目单位：</label>
				<div class="col-sm-8">
					<select name="unitid" class="form-control m-b">
						<option  th:value="1">大庆油田</option><option  th:value="2">辽河油田</option>
						<option  th:value="3">长庆油田</option><option  th:value="4">塔里木油田</option>
						<option  th:value="5">新疆油田</option><option  th:value="6">西南油气田</option>
						<option  th:value="7">吉林油田</option><option  th:value="8">大港油田</option>
						<option  th:value="9">青海油田</option><option  th:value="10">华北油田</option>
						<option  th:value="11">吐哈油田</option><option  th:value="12">冀东油田</option>
						<option  th:value="13">玉门油田</option><option  th:value="14">浙江油田</option>
						<option  th:value="15">煤层气</option><option  th:value="16">南方公司</option>
						<option  th:value="17">勘探开发院</option><option th:value="18">勘探院西北分院</option>
						<option  th:value="19">杭州地质研究院</option>
					</select>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">项目类型：</label>
				<div class="col-sm-8">
					<select name="type" class="form-control m-b">
						<option  th:value="处理">处理</option><option  th:value="解释">解释</option>
					</select>
				</div>
			</div>

			<div class="form-group">	
				<label class="col-sm-3 control-label">项目组长：</label>
				<div class="col-sm-8">
					<input id="manager" name="manager" class="form-control" type="text">
				</div>
			</div>

			<div class="form-group">
				<label class="col-sm-3 control-label">三维项目数：</label>
				<div class="col-sm-8">
					<input id="d3Count" name="d3Count" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">三维工作量：</label>
				<div class="col-sm-8">
					<input id="d3Area" name="d3Area" class="form-control" type="text">
				</div>
			</div>

			<div class="form-group">
				<label class="col-sm-3 control-label">二维项目数：</label>
				<div class="col-sm-8">
					<input id="d2Count" name="d2Count" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">二维工作量：</label>
				<div class="col-sm-8">
					<input id="d2Area" name="d2Area" class="form-control" type="text">
				</div>
			</div>


			<div class="form-group">	
				<label class="col-sm-3 control-label">全流程应用三维(KM²)：</label>
				<div class="col-sm-8">
					<input id="allD3Area" name="allD3Area" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">全流程应用三维项目数：</label>
				<div class="col-sm-8">
					<input id="allD3Count" name="allD3Count" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">全流程应用二维(KM)：</label>
				<div class="col-sm-8">
					<input id="allD2Area" name="allD2Area" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">全流程应用二维项目数：</label>
				<div class="col-sm-8">
					<input id="allD2Count" name="allD2Count" class="form-control" type="text">
				</div>
			</div>


			<div class="form-group">
				<label class="col-sm-3 control-label">项目数占比(三维)：</label>
				<div class="col-sm-8">
					<input id="d3CountAccounting" name="d3CountAccounting" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">工作量占比(三维)：</label>
				<div class="col-sm-8">
					<input id="d3AreaAccounting" name="d3AreaAccounting" class="form-control" type="text">
				</div>
			</div>

			<div class="form-group">
				<label class="col-sm-3 control-label">项目数占比(二维)：</label>
				<div class="col-sm-8">
					<input id="d2CountAccounting" name="d2CountAccounting" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">工作量占比(二维)：</label>
				<div class="col-sm-8">
					<input id="d2AreaAccounting" name="d2AreaAccounting" class="form-control" type="text">
				</div>
			</div>

		</form>
	</div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "statistics/statisticsApplication"
		$("#form-statisticsApplication-add").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/add", $('#form-statisticsApplication-add').serialize());
	        }
	    }
	</script>
</body>
</html>
